﻿/****************
* Creat Date: 2020/08/20 11:00:08
* Creator: Quick.CodeGenerator
*****************/
using System;
using SqlSugar;
namespace BookStores.Entity
{
    /// <summary>
    /// 数据表实体类：Members
    /// </summary>
    [Serializable]
    public partial class Members : Shared.Contracts.EntityBase
    {
        private string _ID;
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string ID 
        {
             get { return _ID; }
             set
             {
                AddPKChange("ID", _ID, value);
                _ID = value;
             }
        }
        private string _Mem_Phone;
        /// <summary>
        /// 手机号
        /// </summary>
        public string Mem_Phone 
        {
             get { return _Mem_Phone; }
             set
             {
                AddPropertyChange("Mem_Phone");
                _Mem_Phone = value;
             }
        }
        private string _Mem_Password;
        /// <summary>
        /// 
        /// </summary>
        public string Mem_Password 
        {
             get { return _Mem_Password; }
             set
             {
                AddPropertyChange("Mem_Password");
                _Mem_Password = value;
             }
        }
        private string _Mem_Salt_Key;
        /// <summary>
        /// 
        /// </summary>
        public string Mem_Salt_Key 
        {
             get { return _Mem_Salt_Key; }
             set
             {
                AddPropertyChange("Mem_Salt_Key");
                _Mem_Salt_Key = value;
             }
        }
        private string _Mem_Mobile;
        /// <summary>
        /// 手机类型
        /// </summary>
        public string Mem_Mobile 
        {
             get { return _Mem_Mobile; }
             set
             {
                AddPropertyChange("Mem_Mobile");
                _Mem_Mobile = value;
             }
        }
        private string _Mem_Wechat_OpenId;
        /// <summary>
        /// 微信ID
        /// </summary>
        public string Mem_Wechat_OpenId 
        {
             get { return _Mem_Wechat_OpenId; }
             set
             {
                AddPropertyChange("Mem_Wechat_OpenId");
                _Mem_Wechat_OpenId = value;
             }
        }
        private string _Mem_Wechat_Nickname;
        /// <summary>
        /// 用户昵称
        /// </summary>
        public string Mem_Wechat_Nickname 
        {
             get { return _Mem_Wechat_Nickname; }
             set
             {
                AddPropertyChange("Mem_Wechat_Nickname");
                _Mem_Wechat_Nickname = value;
             }
        }
        private string _Mem_Wechat_Avatar_Url;
        /// <summary>
        /// 用户头像
        /// </summary>
        public string Mem_Wechat_Avatar_Url 
        {
             get { return _Mem_Wechat_Avatar_Url; }
             set
             {
                AddPropertyChange("Mem_Wechat_Avatar_Url");
                _Mem_Wechat_Avatar_Url = value;
             }
        }
        private string _Mem_Name;
        /// <summary>
        /// 宝贝姓名
        /// </summary>
        public string Mem_Name 
        {
             get { return _Mem_Name; }
             set
             {
                AddPropertyChange("Mem_Name");
                _Mem_Name = value;
             }
        }
        private string _Mem_Gender;
        /// <summary>
        /// 性别0-男、1-女
        /// </summary>
        public string Mem_Gender 
        {
             get { return _Mem_Gender; }
             set
             {
                AddPropertyChange("Mem_Gender");
                _Mem_Gender = value;
             }
        }
        private DateTime? _Mem_Birthday;
        /// <summary>
        /// 宝贝生日,用于计算年龄,做推荐使用
        /// </summary>
        public DateTime? Mem_Birthday 
        {
             get { return _Mem_Birthday; }
             set
             {
                AddPropertyChange("Mem_Birthday");
                _Mem_Birthday = value;
             }
        }
        private string _Mem_Country;
        /// <summary>
        /// 国家
        /// </summary>
        public string Mem_Country 
        {
             get { return _Mem_Country; }
             set
             {
                AddPropertyChange("Mem_Country");
                _Mem_Country = value;
             }
        }
        private string _Mem_Province;
        /// <summary>
        /// 省份
        /// </summary>
        public string Mem_Province 
        {
             get { return _Mem_Province; }
             set
             {
                AddPropertyChange("Mem_Province");
                _Mem_Province = value;
             }
        }
        private string _Mem_City;
        /// <summary>
        /// 城市
        /// </summary>
        public string Mem_City 
        {
             get { return _Mem_City; }
             set
             {
                AddPropertyChange("Mem_City");
                _Mem_City = value;
             }
        }
        private int? _Mem_Reading;
        /// <summary>
        /// 用户累计借阅数
        /// </summary>
        public int? Mem_Reading 
        {
             get { return _Mem_Reading; }
             set
             {
                AddPropertyChange("Mem_Reading");
                _Mem_Reading = value;
             }
        }
        private string _Mem_Is_Vip;
        /// <summary>
        /// 当前是否VIP
        /// </summary>
        public string Mem_Is_Vip 
        {
             get { return _Mem_Is_Vip; }
             set
             {
                AddPropertyChange("Mem_Is_Vip");
                _Mem_Is_Vip = value;
             }
        }
        private string _Mem_Vip_Level;
        /// <summary>
        /// VIP等级
        /// </summary>
        public string Mem_Vip_Level 
        {
             get { return _Mem_Vip_Level; }
             set
             {
                AddPropertyChange("Mem_Vip_Level");
                _Mem_Vip_Level = value;
             }
        }
        private DateTime? _Mem_Vip_Begin;
        /// <summary>
        /// VIP开始时间
        /// </summary>
        public DateTime? Mem_Vip_Begin 
        {
             get { return _Mem_Vip_Begin; }
             set
             {
                AddPropertyChange("Mem_Vip_Begin");
                _Mem_Vip_Begin = value;
             }
        }
        private DateTime? _Mem_Vip_End;
        /// <summary>
        /// VIP到期时间
        /// </summary>
        public DateTime? Mem_Vip_End 
        {
             get { return _Mem_Vip_End; }
             set
             {
                AddPropertyChange("Mem_Vip_End");
                _Mem_Vip_End = value;
             }
        }
        private string _Mem_Wechat_SessionId;
        /// <summary>
        /// 
        /// </summary>
        public string Mem_Wechat_SessionId 
        {
             get { return _Mem_Wechat_SessionId; }
             set
             {
                AddPropertyChange("Mem_Wechat_SessionId");
                _Mem_Wechat_SessionId = value;
             }
        }
        private DateTime? _Mem_Wechat_Session_Expires;
        /// <summary>
        /// 
        /// </summary>
        public DateTime? Mem_Wechat_Session_Expires 
        {
             get { return _Mem_Wechat_Session_Expires; }
             set
             {
                AddPropertyChange("Mem_Wechat_Session_Expires");
                _Mem_Wechat_Session_Expires = value;
             }
        }
        private DateTime? _Mem_LastLogin;
        /// <summary>
        /// 
        /// </summary>
        public DateTime? Mem_LastLogin 
        {
             get { return _Mem_LastLogin; }
             set
             {
                AddPropertyChange("Mem_LastLogin");
                _Mem_LastLogin = value;
             }
        }
        private string _Mem_Mail;
        /// <summary>
        /// 
        /// </summary>
        public string Mem_Mail 
        {
             get { return _Mem_Mail; }
             set
             {
                AddPropertyChange("Mem_Mail");
                _Mem_Mail = value;
             }
        }
        private DateTime? _CreatedOn;
        /// <summary>
        /// 
        /// </summary>
        public DateTime? CreatedOn 
        {
             get { return _CreatedOn; }
             set
             {
                AddPropertyChange("CreatedOn");
                _CreatedOn = value;
             }
        }
        private string _CreatedBy;
        /// <summary>
        /// 
        /// </summary>
        public string CreatedBy 
        {
             get { return _CreatedBy; }
             set
             {
                AddPropertyChange("CreatedBy");
                _CreatedBy = value;
             }
        }
        private DateTime? _ModifyOn;
        /// <summary>
        /// 
        /// </summary>
        public DateTime? ModifyOn 
        {
             get { return _ModifyOn; }
             set
             {
                AddPropertyChange("ModifyOn");
                _ModifyOn = value;
             }
        }
        private string _ModifyBy;
        /// <summary>
        /// 
        /// </summary>
        public string ModifyBy 
        {
             get { return _ModifyBy; }
             set
             {
                AddPropertyChange("ModifyBy");
                _ModifyBy = value;
             }
        }
    }
}
